package com.starchen.optimalselection.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.starchen.optimalselection.common.model.ResultPage;
import com.starchen.optimalselection.product.model.form.AttributeGroupForm;
import com.starchen.optimalselection.product.model.vo.GroupWithAttrVo;
import com.starchen.optimalselection.common.model.AttributeGroup;

import java.util.List;

/**
 *  * 属性分组
 *
 * @author daxilong
 * @date 2024/11/27 19:59
 */
public interface AttributeGroupService extends IService<AttributeGroup> {

    ResultPage queryPage(AttributeGroupForm params);

    List<AttributeGroup> getGroupByCate(Long id);

    List<AttributeGroup> getAllGroup();

    AttributeGroup getAttrGroupInfo(Long attrGroupId);

    List<GroupWithAttrVo> getGroupWithAttrs(Long categoryId);
}


